package com.jyu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jyu.domain.Position;

import java.util.List;

public interface PositionService extends IService<Position> {
    boolean savePosition(Position position);

    boolean modify(Position position);

    boolean delete(Integer id);

    IPage<Position> getPage(int currentPage, int pageSize, Position position);

    List<String> getField();

    void addPositionDocument(Integer id);
    void deletePositionDocument(Integer id);
}
